The Aspect Markup Language and its Support of Aspect Plugins
نویسندگان
چکیده
We describe the Aspect Markup Language (AML), an XML-based AOP language for programming aspects. AML separates the binding instructions, written in XML, from the executable aspect code, written in a regular programming language. This separation by itself has some advantages, namely for testing. But the main goal of AML is to provide a highly extensible AOP platform, with which programmers can easily define their own constructs using well-known plugin techniques. This novel feature enables the development of AOP toolkits that target domain-specific crosscutting concerns. To demonstrate the feasibility of our approach, we have implemented AML for Java, along with a corresponding aspect weaver, jamlc. Jamlc weaves aspects written in AML and Java components into target bytecode. We present examples and show how to write aspect plugins. The Aspect Markup Language and its Support of Aspect Plugins Cristina Videira Lopes and Trung Chi Ngo Institute for Software Research and Bren School of Information and Computer Sciences Department of Informatics University of California, Irvine {lopes, trungcn} @ ics.uci.edu ISR Technical Report UCI-ISR-04-8 ABSTRACT We describe the Aspect Markup Language (AML), an XMLbased AOP language for programming aspects. AML separates the binding instructions, written in XML, from the executable aspect code, written in a regular programming language. This separation by itself has some advantages, namely for testing. But the main goal of AML is to provide a highly extensible AOP platform, with which programmers can easily define their own constructs using well-known plugin techniques. This novel feature enables the development of AOP toolkits that target domainspecific crosscutting concerns.We describe the Aspect Markup Language (AML), an XMLbased AOP language for programming aspects. AML separates the binding instructions, written in XML, from the executable aspect code, written in a regular programming language. This separation by itself has some advantages, namely for testing. But the main goal of AML is to provide a highly extensible AOP platform, with which programmers can easily define their own constructs using well-known plugin techniques. This novel feature enables the development of AOP toolkits that target domainspecific crosscutting concerns. To demonstrate the feasibility of our approach, we have implemented AML for Java, along with a corresponding aspect weaver, jamlc. Jamlc weaves aspects written in AML and Java components into target bytecode. We present examples and show how to write aspect plugins.
منابع مشابه
Language Policy in Nigeria: Prospect for National Unity
Various studies on the National Policy on Education (NPE) have concentrated on the cognitive value of pedagogy and learning of the language aspect but few have viewed its importance on the togetherness of the nation - Nigeria. This paper deals with how the language policy can influence and ensure the co-existence of Nigeria in achieving self-actualisation, national unity, social, cultural, econ...
متن کاملPsychometric Properties of the Persian Word Pairs Task for Declarative Memory Assessment
Objective: According to the declarative/procedural model, the semantic aspect of language depends on the brain structures responsible for declarative memory. The word pairs task is a common tool for evaluating declarative memory. The current study aimed to design a valid and reliable task for evaluating declarative memory in Persian children at learning and retention stages and to investigate i...
متن کاملArchitecture of an XML-based Aspect Weaver
This paper proposes an architecture to enable the development of an XML-based aspect weaver, providing ways to manipulate programs using and XML representation of source code information. The main advantages on using this approach when implementing an aspect weaver is that there are several tools to support XML documents manipulation and the use of XML provides a standard way to represent and m...
متن کاملUnveiling the Passive Aspect of Motivation: Insights from English Language Teachers’ Habitus
Digging into the history of motivation research, we deduced that, the investigations have targeted individuals’ performance as the overt indication of this invisible drive. Yet, it is hypothesized that there exists a variation of motivation which does not lead to a certain action and is only confined to one’s mental engagement with a concept or activity. To further explicate, we put forward a d...
متن کاملThe Effects of Systemic-Theoretical Instruction on Developing Iranian EFL Learners’ Explicit and Implicit Knowledge of Tense-Aspect System
This study aimed to investigate the effects of Systemic Theoretical Instruction (STI), grounded in Socio-cultural Theory and proposed by Gal’perin, on developing Iranian EFL learners’ knowledge of English tense-aspect system. To this end, two low-intermediate classes, including 24 and 21 language learners aged between 12-19, were taught the distinction between simple past and present perfect te...
متن کامل